//
// Created by ins on 2021/2/28.
//

#ifndef SERVICE_MAPDAO_H
#define SERVICE_MAPDAO_H

#include <iostream>
#include <string>
#include <MapBean.h>
#include <list>
#include <MapExitBean.h>

using std::string;
using std::list;
class MapDao {

private:
    MapDao();
    ~MapDao();
    static MapDao *sInstance;

public:
    static MapDao* getInstance();
    void getMap(int mid, MapBean& retMap);
    void getMapExitInfo(list<MapExitBean> &mapExits);

    bool updateMGtime(int mid);
};


#endif //SERVICE_MAPDAO_H
